package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/26.
 */

public class AllDeviceAlertDeviceJsonBean {

    /**
     * status : true
     * message : 查询成功
     * data : {"pageNo":1,"pageSize":10,"totalCount":2,"totalPageNum":1,"list":[{"id":8,"createTime":1508220079000,"deviceNo":"alert-001","deviceType":3,"Valid":1,"Modifier":10001,"deviceInfo":"报警器","modifyTime":1508220079000,"homeId":10001},{"id":15,"createTime":1508468062000,"deviceNo":"测试0700000000000000","deviceType":3,"Valid":1,"Modifier":10001,"deviceInfo":"报警器","modifyTime":1508468062000,"homeId":10001}]}
     */

    private boolean status;
    private String message;
    private AlertDeviceDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public AlertDeviceDataBean getData() {
        return data;
    }

    public void setData(AlertDeviceDataBean data) {
        this.data = data;
    }

    public static class AlertDeviceDataBean {
        /**
         * pageNo : 1
         * pageSize : 10
         * totalCount : 2
         * totalPageNum : 1
         * list : [{"id":8,"createTime":1508220079000,"deviceNo":"alert-001","deviceType":3,"Valid":1,"Modifier":10001,"deviceInfo":"报警器","modifyTime":1508220079000,"homeId":10001},{"id":15,"createTime":1508468062000,"deviceNo":"测试0700000000000000","deviceType":3,"Valid":1,"Modifier":10001,"deviceInfo":"报警器","modifyTime":1508468062000,"homeId":10001}]
         */

        private int pageNo;
        private int pageSize;
        private int totalCount;
        private int totalPageNum;
        private List<AlertDeviceListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getTotalPageNum() {
            return totalPageNum;
        }

        public void setTotalPageNum(int totalPageNum) {
            this.totalPageNum = totalPageNum;
        }

        public List<AlertDeviceListBean> getList() {
            return list;
        }

        public void setList(List<AlertDeviceListBean> list) {
            this.list = list;
        }

        public static class AlertDeviceListBean {
            /**
             * id : 8
             * createTime : 1508220079000
             * deviceNo : alert-001
             * deviceType : 3
             * Valid : 1
             * Modifier : 10001
             * deviceInfo : 报警器
             * modifyTime : 1508220079000
             * homeId : 10001
             */

            private int id;
            private long createTime;
            private String deviceNo;
            private int deviceType;
            private int Valid;
            private int Modifier;
            private String deviceInfo;
            private long modifyTime;
            private int homeId;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getDeviceNo() {
                return deviceNo;
            }

            public void setDeviceNo(String deviceNo) {
                this.deviceNo = deviceNo;
            }

            public int getDeviceType() {
                return deviceType;
            }

            public void setDeviceType(int deviceType) {
                this.deviceType = deviceType;
            }

            public int getValid() {
                return Valid;
            }

            public void setValid(int Valid) {
                this.Valid = Valid;
            }

            public int getModifier() {
                return Modifier;
            }

            public void setModifier(int Modifier) {
                this.Modifier = Modifier;
            }

            public String getDeviceInfo() {
                return deviceInfo;
            }

            public void setDeviceInfo(String deviceInfo) {
                this.deviceInfo = deviceInfo;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getHomeId() {
                return homeId;
            }

            public void setHomeId(int homeId) {
                this.homeId = homeId;
            }
        }
    }
}
